package com.dcloud.manage.dblib.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dcloud.manage.dblib.entity.DatalibCategory;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@Data
@ApiModel(value="数据资源分类树节点", description="数据资源分类树节点")
public class DatalibCategoryNodeVO {

    /**主键*/
    @ApiModelProperty(value = "主键")
    private java.lang.Integer id;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    /**分类级别;1 分馆 2 层 3 书架*/
    @ApiModelProperty(value = "分类级别;1 分馆 2 层 3 书架")
    private java.lang.Integer categoryLevel;
    /**分类编码;分类编码*/
    @ApiModelProperty(value = "分类编码;分类编码")
    private java.lang.String categoryCode;
    /**分类名称;分类名称*/
    @ApiModelProperty(value = "分类名称;分类名称")
    private java.lang.String categoryName;

    @ApiModelProperty(value = "父级分类编码")
    private java.lang.String categoryParCode;

    @ApiModelProperty(value = "分类子项")
    private List<DatalibCategoryNodeVO> children;
}
